package com.ffsky.ffui.demo;

import com.ffsky.ffui.demo.data.MyDataSource;
import com.gitee.hljdrl.ffkit.FFKitApplication;
import com.gitee.hljdrl.ffkit.builder.FFKitLinkSource;
import com.gitee.hljdrl.uikit.BuildConfig;
import com.gitee.hljdrl.uikit.UIKit;
import com.gitee.hljdrl.utils.os.AndroidUtil;

public class MyApplication extends FFKitApplication {
    @Override
    public void onCreate() {
        super.onCreate();
        if (AndroidUtil.inMainProcess(this)) {
            UIKit.install(this, BuildConfig.DEBUG);
        }
    }

    @Override
    public Class<? extends FFKitLinkSource> getLinkSource() {
        return MyDataSource.class;
    }


}
